public class dog2 {
        public static void main(String[] ages){
            dog wc=new dog();
            wc.name="旺财";
            wc.age=3;
            wc.weight=23.3;
            System.out.println(wc.name+"\n"+wc.age+"\n"+wc.weight);
            wc.say();
        }
}
